﻿namespace WorkLogSystem.Entity
{
    public class ResultModel
    {
        public ResultModel()
        { }

        public ResultModel(ResultCode Code, string Message)
        {
            this.Code = Code;
            this.Message = Message;
        }

        public ResultModel(ResultCode Code, string Message, object Result)
        {
            this.Code = Code;
            this.Message = Message;
            this.Result = Result;
        }

        public ResultCode Code { get; set; }

        public string Message { get; set; }

        public object Result { get; set; }
    }
}
